home *** CD-ROM | disk | FTP | other *** search
/ Inside Indy 1993 / Inside Indy 1993.iso / demos / CHEM / ribbon / bin / hx-mono-cyl < prev    next >
Encoding:
Text File  |  1993-06-23  |  366 b   |  26 lines

  1. #!/bin/csh
  2.  
  3. set RibDir = ~ribbons
  4.  
  5. if( $#argv != 2 ) then
  6.     goto Usage
  7. endif
  8.  
  9. if( ! -e $1 ) then
  10.     echo " pdb-hx-fit output file $1 does not exist. "
  11.     goto Usage
  12. endif
  13.  
  14. if( -e $2 ) then
  15.     echo " Helix cylinder file $2 already exists. "
  16.     goto Usage
  17. endif
  18.  
  19. awk -f $RibDir/fithx/hx_bond.awk < $1 > $2
  20.  
  21. exit
  22.  
  23.  
  24. Usage:
  25.     echo " usage:  hx-mono-cyl  pdb-hx-fit.out  helix.cyl"
  26.